﻿using DevExpress.ExpressApp.Blazor.Editors;
using DevExpress.ExpressApp.Blazor.Editors.Adapters;
using DevExpress.ExpressApp.Model;

namespace EasyXaf.EntityDesigner.Editors.DetailViewEditors;

public class DetailViewEditor : BlazorPropertyEditorBase
{
    public DetailViewEditor(Type objectType, IModelMemberViewItem model) 
        : base(objectType, model)
    {
    }

    protected override IComponentAdapter CreateComponentAdapter()
    {
        return new DetailViewEditorAdapter(new DetailViewEditorModel());
    }
}
